package com.bbb.zuul.service.user;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient(name = "user-center", value = "user-center")
public interface UserCenterService {

    @RequestMapping(method = RequestMethod.POST, value = "/user/getLoginStatus")
    Map<String, Object> getLoginStatus(String token);
}
